<?php
class View implements Resource {
	
	private static $viewDirectory = 'view/';
	
	private $viewName;
	
	public function __construct($viewName) {
		$this->viewName = $viewName;
	}
	
	public function dispatch() {
		include self::$viewDirectory . $this->viewName;
	}
}
?>